
package net.swa.dewei.beans.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * 微信日报实体类
 * @author dawei
 *
 */
@Entity
@Table(name = "t_WxDateReport")
public class WxDateReport
{
    //PK
    private Long id;

    /**日期**/
    private String date;

    /**增加关注人数**/
    private Integer plus;

    /**取消关注人数**/
    private Integer minus;

    /**净增长关注人数**/
    private Integer realPlus;

    /**当前关注总人数**/
    private Integer total;

    @GenericGenerator(name = "generator", strategy = "native")
    @Id
    @GeneratedValue(generator = "generator")
    @Column(name = "id", unique = true, nullable = false)
    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getDate()
    {
        return date;
    }

    public void setDate(String date)
    {
        this.date = date;
    }

    public Integer getPlus()
    {
        return plus;
    }

    public void setPlus(Integer plus)
    {
        this.plus = plus;
    }

    public Integer getMinus()
    {
        return minus;
    }

    public void setMinus(Integer minus)
    {
        this.minus = minus;
    }

    public Integer getRealPlus()
    {
        return realPlus;
    }

    public void setRealPlus(Integer realPlus)
    {
        this.realPlus = realPlus;
    }

    public Integer getTotal()
    {
        return total;
    }

    public void setTotal(Integer total)
    {
        this.total = total;
    }
}
